package com.gitee.kamismile.stone.basic.data.infrastructure.enums;

public enum CommonErrorEnum {
    TenantNotFound(8_001, "租户ID不能为空"),
    TenantNotOperation(8_002, "不能操作基础数据"),
    ;
    private int code;
    private String message;

    CommonErrorEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
